<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
	
<script id="menuTpl" type="text/template">
	<!--一级导航-->
	{@each oneMenuList as oneMenuVO}
	<li><a class="dropdown-toggle"
			role="button" aria-haspopup="true" aria-expanded="false" 
			 href="
			 {@if oneMenuVO.linkType=="H"}
			 	${base}/fronthome/index
			 {@else if oneMenuVO.link==""}
			 	javascript:void(0)
			 {@else}
			 	!{oneMenuVO.link}
			 {@/if}
			 " 
			 {@if oneMenuVO.openType == '0'}
	 			target="_parent" 
	 			{@else}
	 			target="_blank" 
	 			{@/if}
			 > 
				!{oneMenuVO.menuName}
				<p>
				!{oneMenuVO.menuNameUs}
				</p>
		 </a>
		 {@if oneMenuVO.childNum!='0'}
		 <!--二级导航-->
		 <ul class="dropdown-menu" style="padding:0px; margin:0px;">
			{@each twoMenuList as twoMenuVO}
				{@if twoMenuVO.parentId == oneMenuVO.menuId}
		            <li>
			            <a style="padding:10px 20px;"
			            href="${base}/content/leader?link=!{twoMenuVO.link}"
			 			{@if twoMenuVO.openType == '0'}
			 			target="_parent" 
			 			{@else}
			 			target="_blank" 
			 			{@/if}
			 			parentMenu="!{oneMenuVO.menuName}" 
			            >
				           	 	!{twoMenuVO.menuName}
				        </a>
			        </li>
		         {@/if}
            {@/each}
         </ul>
         {@/if}
	 </li>
	 {@/each}
</script>
